package com.bluesky.plum.richdomain.annotation.field;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.bluesky.plum.richdomain.FieldType;

/**
 * common attributes
 * 
 * @author HZ00260
 * 
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface OUMField {

	String caption() default "";

	String desc() default "";

	String validationRule() default "";

	int position() default 9999;

	FieldType fieldType() default FieldType.Undefined;

	boolean enabled() default true;

	boolean own() default false;
}
